﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;

namespace WcfFlashRemoting.Example2.Implementation
{
    [ServiceBehavior(Namespace = "urn:WcfFlashRemoting:Examples:Example2")]
    class CalculatorService : Contract.ICalculatorContract
    {
        #region ICalculatorContract Members

        public int Add(int a, int b)
        {
            return a + b;
        }

        public float AddFloat(float a, float b)
        {
            return a + b;
        }

        #endregion
    }
}
